package com.qianfeng.day11.service;


import com.qianfeng.day11.dao.FunctionalSituationDAO;
import com.qianfeng.day11.entity.FunctionalSituation;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FunctionalSituationService {
    @Resource
    private FunctionalSituationDAO functionalSituationDAO;

    public List<FunctionalSituation> findAllByPhoneId(Integer id){
        return functionalSituationDAO.findAllByPhoneId(id);
    }
}
